package hcn.cmc.bean.resq;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.List;

/**
 * @Author impel
 * @Date 2020/12/14 10:04
 * @Description:
 * @Version 1.0
 */
@XmlRootElement(name = "RequestList")
@XmlAccessorType(XmlAccessType.FIELD)
public class DoctorDeptResq {
    private String DeptCode;
    private String DeptName;
    private List<Group> GroupList;

    public List<Group> getGroupList() {
        return GroupList;
    }

    public void setGroupList(List<Group> groupList) {
        GroupList = groupList;
    }

    public String getDeptCode() {
        return DeptCode;
    }

    public void setDeptCode(String deptCode) {
        DeptCode = deptCode;
    }

    public String getDeptName() {
        return DeptName;
    }

    public void setDeptName(String deptName) {
        DeptName = deptName;
    }

    @XmlRootElement(
            name = "GroupList"
    )
    @XmlAccessorType(XmlAccessType.FIELD)
    public static class Group{
        private String GroupId;
        private String GroupName;

        public String getGroupId() {
            return GroupId;
        }

        public void setGroupId(String groupId) {
            GroupId = groupId;
        }

        public String getGroupName() {
            return GroupName;
        }

        public void setGroupName(String groupName) {
            GroupName = groupName;
        }
    }
}
